Skip to content

De-parallelize integration test #1744

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
May 31, 2022
Merged

Conversation

cmaglie
Copy link
Member

@cmaglie cmaglie commented May 31, 2022

Please check if the PR fulfills these requirements

  • The PR has no duplicates (please search among the Pull Requests
    before creating one)
  • The PR follows
    our contributing guidelines
  • Tests for the changes have been added (for bug fixes / features)
  • Docs have been added / updated (for bug fixes / features)
  • UPGRADING.md has been updated with a migration guide (for breaking changes)

What kind of change does this PR introduce?
Integration tests are no more parallelized and the test output Is displayed for better debugging.
The parallelization is no more needed since they are split using GitHub actions runners.

What is the current behavior?
Tests are run in "parallel" (in reality only one test per runner so there is no effective parallelization) and the output is hidden.

What is the new behavior?
Tests are run sequentially and the output is visible.

Does this PR introduce a breaking change, and is titled accordingly?
No

Other information:
Some tests are still hidden because their output is UTF-8 and it seems to cause some python exceptions on Windows runners: while waiting for a better solution I've opted for the quick-and-dirty workaround.

cmaglie added 2 commits May 31, 2022 13:05
Otherwise Windows runners may raise this exception:

  E UnicodeEncodeError: 'charmap' codec can't encode characters in position 890-897: character maps to <undefined>
@cmaglie cmaglie requested a review from a team May 31, 2022 13:06
@cmaglie cmaglie self-assigned this May 31, 2022
Copy link
Contributor

@umbynos umbynos left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💬

Co-authored-by: Umberto Baldi <34278123+umbynos@users.noreply.github.com>
@per1234 per1234 added type: enhancement Proposed improvement topic: infrastructure Related to project infrastructure labels May 31, 2022
@cmaglie cmaglie merged commit aba6a78 into arduino:master May 31, 2022
@cmaglie cmaglie deleted the de-parallelize-test branch May 31, 2022 14:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
topic: infrastructure Related to project infrastructure type: enhancement Proposed improvement
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants